package com.sz.biz.trade.ord.dto;

import com.sz.biz.trade.ord.entity.TrdOrderFileRel;
import com.sz.biz.trade.ord.entity.TrdOrderStatus;
import com.sz.biz.trade.ord.entity.TrdOrderType;

import java.util.List;

/**
 * Function: 贸易订单Dto <br>
 * Author: jifeixing <br>
 * Date: 2017-07-15 14:19:00
 */
public class TrdOrderDto {
    /**
     * id
     */
    private Integer id;
    /**
     * 业务单号
     */
    private String businessNo;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 客户帐号
     */
    private Integer cusUserId;
    /**
     * 订单类型
     */
    private TrdOrderType orderType;
    /**
     * 1: 客户下单； 2： 平台代下单
     */
    private Integer orderChannel;
    /**
     * 项目id
     */
    private Integer projectId;
    /**
     * 项目编码
     */
    private String projectCode;
    /**
     * 销售方
     */
    private Integer sellerId;
    /**
     * 采购方
     */
    private Integer purchaserId;
    /**
     * 客户留言
     */
    private String customerNote;
    /**
     * 订单状态
     */
    private TrdOrderStatus orderStatus;

    public List<TrdOrderFileRel> getTrdOrderFileRels() {
        return trdOrderFileRels;
    }

    public void setTrdOrderFileRels(List<TrdOrderFileRel> trdOrderFileRels) {
        this.trdOrderFileRels = trdOrderFileRels;
    }

    /**
     * 订单附件
     */
    private List<TrdOrderFileRel> trdOrderFileRels;

    private List<TrdOrderGoodsSaveDto> orderGoods;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public TrdOrderType getOrderType() {
        return orderType;
    }

    public void setOrderType(TrdOrderType orderType) {
        this.orderType = orderType;
    }

    public Integer getProjectId() {
        return projectId;
    }

    public void setProjectId(Integer projectId) {
        this.projectId = projectId;
    }

    public String getProjectCode() {
        return projectCode;
    }

    public void setProjectCode(String projectCode) {
        this.projectCode = projectCode;
    }

    public Integer getSellerId() {
        return sellerId;
    }

    public void setSellerId(Integer sellerId) {
        this.sellerId = sellerId;
    }

    public Integer getPurchaserId() {
        return purchaserId;
    }

    public void setPurchaserId(Integer purchaserId) {
        this.purchaserId = purchaserId;
    }

    public String getCustomerNote() {
        return customerNote;
    }

    public void setCustomerNote(String customerNote) {
        this.customerNote = customerNote;
    }

    public List<TrdOrderGoodsSaveDto> getOrderGoods() {
        return orderGoods;
    }

    public void setOrderGoods(List<TrdOrderGoodsSaveDto> orderGoods) {
        this.orderGoods = orderGoods;
    }

    public Integer getCusUserId() {
        return cusUserId;
    }

    public void setCusUserId(Integer cusUserId) {
        this.cusUserId = cusUserId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public TrdOrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(TrdOrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getOrderChannel() {
        return orderChannel;
    }

    public void setOrderChannel(Integer orderChannel) {
        this.orderChannel = orderChannel;
    }

    public String getBusinessNo() {
        return businessNo;
    }

    public void setBusinessNo(String businessNo) {
        this.businessNo = businessNo;
    }
}
